home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Floppyshop 2
/
Floppyshop - 2.zip
/
Floppyshop - 2.iso
/
diskmags
/
4671-5.790
/
dmg-5655
/
worm.txt
< prev
next >
Wrap
Text File
|
1996-06-07
|
1KB
|
41 lines
THE THIRD DIMENSION
WORM OBJECT TUTORIAL USING SETXSIZE COMMAND
-------------------------------------------
This tutorial shows you how to create an expanding/shrinking
cube that could be used in various games to great effect.
You should see a cube grow,shrink and repeat the action
again. With a bit of imagination and programming, you should
be able to create people that turn into giants, extending
platforms, spikes that grow, rising rivers, crushing walls
and many more useful ideas.
As an example take a look at the Worm.3WD kit 2 file provided.
Here is a quick tutorial to show the effect.
Create a cube in a new area and then make it moveable (MOV) via its
object attributes button (fourth icon along the bottom from the
left ).
Now create a General condition,edit it and load in the GenCond.txt.
Next create 2 Local/area conditions,edit them and then load in to
each one a LocCond.txt file.Place LocCond1.txt in local condition
1 and LocCond2.txt in local condition 2.
Now Reset the area (far right icon) and watch the cube expand and
shrink.
The SETXSIZE commands parameters refer to the new size,object number
and area number.So this example means - SETXSIZE (V30,3,1)
- the setxsize command will size the object using the information
taken from variable V30 and apply it to object 3 in area 1.
You can also use the SETYSIZE AND SETZSIZE commands to expand or
shrink objects in other directions.
Next try it out in your own creations.
Tony